<?php
echo '<script type="text/javascript">';
require APP . WEBROOT_DIR . DS . "js" . DS . "validate" . DS . "user_edit.js";
echo '</script>';
?>
<div class="users form">
<?php echo $this->Form->create('User');?>
	<fieldset>
		<legend><?php __('Editar Usuario'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('group_id', array('label'=>'Tipo'));
		echo $this->Form->input('name', array('label'=>'Nombre'));
		echo $this->Form->input('enabled', array('label'=>'Habilitado', 'options'=>array(0 => 'No', 1 => 'Si')));
		echo $this->Form->input('deleted', array('label'=>'Eliminado', 'options'=>array(0 => 'No', 1 => 'Si')));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Editar', true));?>
</div>